<?php
 	$type=isset($type)?$type:'';
 	$id=isset($id)?$id:'';
	echo $this->requestAction(array('controller' => 'activities', 'action' => 'index', 'type' => $type, 'id' => $id, 'admin' => false), array('return'));
?>